<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
<title>Flags parameter</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</HEAD>

<BODY>
<h1>Flags parameter</h1>

<p>Use the <b>Flags</b> parameter to specify how topics should be searched for, and how they should appear, for certain commands.</p>


<h2>Applies to</h2>
<a href=ocx_alink.htm>ALink</a><br>
<a href=ocx_contents.htm>Contents</a><br>
<a href=ocx_klink.htm>KLink</a><br>


<h2>Valid values</h2>
<table border=1 cellpadding=5>
<tr>
<th>
Syntax
</th>
<th>
Description
</th>
<th>
Notes
</th>
</tr>

<tr>
<td>
<code>&lt;PARAM name="Flags" value="1"&gt;</code>
</td>
<td>
Used with the <b>ALink</b> or <b>KLink</b> commands to specify that when a single target topic is found, the topic should appear in the window type specified in the <a href="ocx_pcommand.htm">Command</a> parameter.
</td>

<td>
If this parameter is empty (<code>value=" "</code>), clicking the ALink or KLink navigates directly to the target topic when a single topic is found.
</td>
</tr>

<tr>
<td><code>&lt;PARAM name="Flags" value=",,1"&gt;</code>
</td>
<td>
Used with the <b>ALink</b> or <b>KLink</b> commands  to specify that when a target topic cannot be found, the  ALink or KLink button (or text) should be unavailable.   
</td>

<td>
If this parameter is empty (<code>value=" "</code>), clicking the ALink or KLink opens a <b>Topic Not Found</b> dialog box when the topic cannot be located.
</td>
</tr>

<tr>
<td><code>&lt;PARAM name="Flags" value="<i>numeric value of selected window styles</i>"&gt;</code>
</td>
<td>
Used with the <b>Contents</b> command to store the numeric value of the selected window style attributes.  
</td>

<td>
The window style hexadecimal numeric values are not currently mapped.
<p>
We recommend that you use the HTML Help ActiveX Control Wizard to select window styles. The wizard automatically inserts the appropriate parameter values in the format 0x<i>n</i>.
</td>
</tr>
</table>

<br>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td valign="top"><a href="ocx_parameters.htm"><img src="proced.gif" alt="link to overview topic" border="0"></a>
</td>
<td><a href="ocx_parameters.htm">About parameters</A>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>

<!--start keywords--->

<!--end keywords--->

</BODY>
</HTML>
